package com.hotec.PROJECT_NAME.modules.sys.entity;

import com.hotec.PROJECT_NAME.component.basic.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.validation.constraints.Size;


/**
 *
 * 消息关联表
 * @author llb
 */
@Data
@Table(name = "sys_message_read")
@Accessors(chain = true)
public class SysMessageRead extends BaseEntity {

    /**
     * 商户id或者trust标识
     */
    @Size(max=100)
    @Column(name = "target_id")
    private String targetId;

    /**
     * 人员id
     */
    @Size(max=100)
    @Column(name = "account_id")
    private String accountId;

    /**
     * 类型 站内信或者交易
     */
    @Column(name = "type_")
    private String type;
}
